package james.gan.demo.server;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;

import james.gan.config.spring.annotation.EnableRpc;
import james.gan.config.spring.annotation.RpcConfig;

@ComponentScan
@RpcConfig(registry = "map:localhost:7074")
@EnableRpc
public class ServerApplication {
	
	public static void main(String[] args) {
		
		AnnotationConfigApplicationContext  context = new AnnotationConfigApplicationContext(ServerApplication.class);
	}
}
